//
//  XMPicwordSearchView.h
//  XMJJ_zmy
//
//  Created by 丁浩 on 2025/7/15.
//

#import "XMBaseView.h"

NS_ASSUME_NONNULL_BEGIN

@protocol XMPicwordSearchViewDelegate <NSObject>

- (void)refreshData;
- (void)loadMoreData;
- (void)picwordLikedWithPicwordId:(NSString *)picwordId;
- (void)picwordSearchWithSearchKey:(NSString *)searchKey
                        searchType:(int)searchType;

- (void)checkPicwordDetailWithPicwordId:(NSString *)picwordId; //查看图文详情
- (void)checkUserDetailWithUserId:(NSString *)userId; //查看用户详情

- (void)userAttentionWithUserId:(NSString *)userId
                attentionStatus:(BOOL)status; //关注用户

- (void)screenWithSearchKey:(NSString *)screenKeyOne
               screenKeyTwo:(NSString *)screenKeyTwo; //筛选

@end

@interface XMPicwordSearchView : XMBaseView

@property (nonatomic, weak) id<XMPicwordSearchViewDelegate>delegate;

- (void)setContentWithPicwordModelArr:(NSArray *)picwordModelArr
                                 page:(NSInteger)page;

- (void)setContentWithUserModelArr:(NSArray *)userModelArr
                              page:(NSInteger)page;

@end

NS_ASSUME_NONNULL_END
